home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / sound / ptmid.zip / PTMID.CFG < prev    next >
Text File  |  1994-01-05  |  4KB  |  89 lines

  1. # This is the configuration file for Ptmid
  2. # Any line beginning with a crosshatch is not interpretted. Note that
  3. # all letters are case-sensative. Changing the variable-tags could cause
  4. # Ptmid to reject this configuration file.
  5. #
  6. # Below are the instrument sample mappings. Each line begins with a number
  7. # and then a mapping onto a set of sample files. The first entry is special:
  8. # it is labelled "def" and its sample mappings will be used for any
  9. # instrument which is not given a sample mapping. This entry must be
  10. # present. Other entries use the numbers 0 to 127, and represent the
  11. # corresponding MIDI instrument (eg. 1 might represent "bright acoustic
  12. # piano").
  13. #
  14. def piano.smp
  15. #
  16. # Below are the percussion sample mappings. Each line begins with a 'd'
  17. # followed by a number, then a sample file to map it onto. The numbers can
  18. # range from 0 to 127 and represent the MIDI note that when played gives
  19. # that particular drum (eg. d36 is the note C on octave 3 and might
  20. # represent "bass drum"). If a particular percussion instrument is not
  21. # given, then it will be ignored.
  22. #
  23. d35 bdrum.smp
  24. d36 bdrum.smp
  25. #
  26. # Below are given the information on the samples in the above sections.
  27. # If a sample is given as an instrument or percussion mapping, it must be
  28. # given an entry defining its properties.
  29. # Each entry begins with the word "sample", then the filename for the sample
  30. # that was used above, followed by its pitch (eg. C2, F#3) when played
  31. # at 8287 Hz (followed by loop-start offset, and length of loop in words,
  32. # but these are optional).
  33. # Middle C is C2, the note a semitone up is C#2, the note a semitone
  34. # down is B#1, etc. This system is used by most Protracker-type players
  35. # (yes.. there IS a reason).
  36. #
  37. sample piano.smp C2
  38. sample bdrum.smp C2
  39. #
  40. #
  41. # Now come the various options that can be enabled for Ptmid..
  42. #
  43. # Usually the drum channel is 10, but if you want to set it to something
  44. # different, use the following option (it will over-ride the similar
  45. # command-line parameter).
  46. #
  47. # drumch 16
  48. #
  49. # When interpretting a MIDI-file, notes are quantized so they can easily
  50. # be mapped onto patterns in the MOD-file. Valid quantize fractions are:
  51. #   4, 4t, 8, 8t, 16, 16t, 32, 32t, etc.
  52. # where "4" means quantize to quarter-notes (crotchets), "8" means
  53. # quantize to eighth-notes (quavers), etc. If there is a "t"-suffix, then
  54. # it means quantize to the appropriate triplet note.
  55. # This option will be overridden by the -f parameter at the command-line.
  56. #
  57. # fract 16
  58. #
  59. # If you want to create a MOD-file with more than extended characteristics,
  60. # and get a better conversion, then you can use the following three options
  61. # which select the number of channels (ptchan), the maximum number of
  62. # patterns (patmax), and the signature for that particular format (formid).
  63. # Here are some standard combinations:
  64. #          ptchan    patmax   formid
  65. #            4         64      M.K.
  66. #            4        128      M!K!
  67. #            6         64      6CHN
  68. #            8         64      8CHN
  69. # NB. ptchan has a maximum of 8 channels.
  70. #     patmax has a maximum of 128 patterns.
  71. #
  72. ptchan 4
  73. patmax 64
  74. formid M.K.
  75. #
  76. # Some MOD-files use an extended range of notes, but these cannot be
  77. # played using all trackers. If you want to have an extra two octaves
  78. # for notes, then use the "extend" option, but remember that it might
  79. # cause incompatibilities.
  80. #
  81. # extend
  82. #
  83. # This last option is a bit strange. If the word "nocopy" is on a line
  84. # then Ptmid will refuse to create MOD versions of MIDI files with
  85. # copyright notices in them.
  86. #
  87. # nocopy
  88. #
  89.